<?php						
						
include 'db/db_Connect.php';                            
$family_id = $_GET['family_id'];

$result = mysql_query("SELECT * from FamilyMembers WHERE family_id=$family_id");
					
while($row = mysql_fetch_array($result)){
	//Display the results in different cells
	echo  "<tr id=\"".$row['member_id']."\"><td>" 
			. $row['first_name']
			. "</td><td class=\"center\">" 	
			. $row['last_name']                
			. "</td><td class=\"center\">" 	
			. $row['gender']
			. "</td><td class=\"center\">" 
			. $row['age']
			. "</td><td class=\"center\">" 	
			. $row['date_of_birth']
			. "</td><td class=\"center\">" 	
			. $row['relationship']
			. "</td><td>" 
 				. "<a class=\"btn btn-info table-action-EditUser\" >"
				. "<i class=\"icon-edit icon-white\"></i>"  
				."Edit"                                            
				. "</a>"
			. "</td></tr>";
			
}

include 'db/db_Close.php';
						
?>						